package chapter3.No3_2_方法join的使用.demo3;

/**
 * Created by Administrator on 2016/11/20.
 */
public class ThreadA extends Thread {
    @Override
    public void run() {
        try {
            for (int i = 0; i < Integer.MAX_VALUE; i++) {
                Thread.sleep(500);
                System.out.println("A线程还在执行!");
            }
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
